package com.cyandpos.pad.posdata;

import java.util.List;

public class CyFood {
    private int flid;//分类ID

    private String name;//名称

    private List<CyGood> goodsList;//商品集合

    public int getFlid() {
        return flid;
    }

    public void setFlid(int flid) {
        this.flid = flid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CyGood> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<CyGood> goodsList) {
        this.goodsList = goodsList;
    }

    public class CyGood{

    private int spid;//商品ID

    private String name;//名称

     private String price;//价格

     private List<Flavor> flavorList;//口味

        private String  pictureUrl;

        public String getPictureUrl() {
            return pictureUrl;
        }

        public void setPictureUrl(String pictureUrl) {
            this.pictureUrl = pictureUrl;
        }

        public int getSpid() {
            return spid;
        }

        public void setSpid(int spid) {
            this.spid = spid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public List<Flavor> getFlavorList() {
            return flavorList;
        }

        public void setFlavorList(List<Flavor> flavorList) {
            this.flavorList = flavorList;
        }
    }

   public class Flavor{

        private int spid;

        private String name;

        public int getSpid() {
            return spid;
        }

        public void setSpid(int spid) {
            this.spid = spid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
